<?=view('home.common.header')?>
<?=view('home.common.nav')?>
<div class="container">
    <div class="container-fluid">
        <div class="row">
            <div class="col-xs-12 col-md-12" style="padding: 10px 0px;">
                <a href="<?=url("home/person/myproxy")?>" class="button button-circle button-small button-highlight"><i class="fa fa-reply"></i></a>
            </div>
            <?php if($agencys && count($agencys)):?>
            <table class="table">
                <thead>
                    <tr>
                        <th>代理人昵称</th>
                        <th>推荐人</th>
                        <th>贡献</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach($agencys as $val): ?>
                    <tr>
                        <td><?=$val->nickname?></td>
                        <td><?=$val->strTjr()?></td>
                        <td><?=$val->strGx()?></td>
                    </tr>
                    <?php endforeach; ?>
                </tbody>
            </table>
            <?php endif; ?>
        </div>
    </div>
</div>
<?=view('home.common.footer')?>